searchenginetracker: Fix prefix searches
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Jun 2016 22:27:19 +0000 (00:27 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Jun 2016 22:56:38 +0000 (00:56 +0200)
commit0d407bcd6c5ad8e9279d667dfb8225991b998d02
tree6ea7fd9f8931f55664c1227f62b4be9e3b248385
parent289fc9640bbeba1096f15bb0b735d0361cf4c9dc
searchenginetracker: Fix prefix searches

With the FTS5 query syntax, when using quotes to delimit the search phrase
the '*' token must happen after the quote, or will otherwise be considered
a character to match, go through the tokenizer, and end up ignored in
result.
gtk/gtksearchenginetracker.c